<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
	<s:head/>
  </head>
  
  <body>
    <h3>Add Student Information.</h3>
    <s:form action="save.action" namespace="/" method="post" theme="simple">
    	<table>
    		<tr>
    			<td>No.:</td>
    			<td><s:textfield name="xs.xh"></s:textfield></td>
    		</tr>
    		<tr>
    			<td>Name:</td>
    			<td><s:textfield name="xs.xm"></s:textfield></td>
    		</tr>
    		<tr>
    			<td>Sex:</td>
    			<td><s:radio name="xs.xb" list="#{1:'M',0:'F'}" value="1"></s:radio></td>
    		</tr>
    		<tr>
    			<td>Birthday:</td>
    			<td><s:datetimepicker name="xs.cssj" id="cssj" displayFormat="yyyy-MM-dd"></s:datetimepicker></td>
    		</tr>
    		<tr>
    			<td>Major:</td>
    			<td><s:textfield name="xs.zy"></s:textfield></td>
    		</tr>
    		<tr>
    			<td>Remark:</td>
    			<td><s:textarea name="xs.bz"></s:textarea></td>
    		</tr>
    		<tr>
    			<td><s:submit value="Add This"></s:submit></td>
    			<td><s:reset value="Reset"></s:reset></td>
    		</tr>
    	</table>
    </s:form>
  </body>
</html>
